package com.baox.agridata.synchronous.dao.shanxi;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.quanguo.McGrxxs;
import com.baox.agridata.synchronous.entity.quanguo.McQyxxs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TXDRFarmMapper {


    /**
     * 农业部养殖场信息(企业类型)
     *
     * @return
     */
    @DS("shanxi")
    List<McQyxxs> selectCompanyFarm();

    /**
     * 农业部同步养殖场个人信息
     *
     * @param createTime
     * @return
     */
    @DS("shanxi")
    List<McGrxxs> selectPersonFarm(@Param("createTime") String createTime);


}
